package co.yixiang.yshop.module.product.controller.admin.storeproductassure.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static co.yixiang.yshop.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品保障服务 Excel 导出 Request VO，参数和 StoreProductAssurePageReqVO 是一致的")
@Data
public class StoreProductAssureExportReqVO {

@Schema(description = "服务名称", example = "赵六")
private String name;

@Schema(description = "服务内容")
private String content;

@Schema(description = "排序")
private Integer sorted;

@Schema(description = "状态 0关闭 1开启", example = "1")
private Integer status;

        @Schema(description = "添加时间")
        @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
        private LocalDateTime[] createTime;

}
